<template>
  <div @click="fun">{{ da }}</div>
</template>

<script>
import evenbus from "../eventBus";
export default {
  data() {
    return {
      da: "hahahahaa",
    };
  },
  methods: {
    fun() {
      this.da = this.da + "hello world";
      evenbus.$emit("sayHello", this.da);
    },
  },
};
</script>

<style></style>
